# -*- coding: utf-8 -*-
#
class Rakutenitem < ActiveRecord::Base
   ##--------------------
   def setRakutenItem(itm)
		self.barcode = itm[:barcode]
		self.itemname = itm[:itemName]
		self.itemcode = itm[:itemCode]
		self.weburl = itm[:webUrl]
		self.imageurl = itm[:imageUrl]
		self.genreid = itm[:genreId]
		self.rootgenreid = itm[:rootgenreId]
		self.potid = itm[:potid]
   end
end
